package com.l024.android_ljl.constant;

/**
 * @author wu_ming_zhi_bei
 * @date 2021/5/6 15:35
 * @Notes
 */
public class ApiConstant {
    public final static String BASE_URL = "http://192.168.20.100:9999";

    public final static String LOGIN = "/user/login";//登录
    public final static String UPLOAD_FILE = "/user/upload";//上传文件
    public final static String REGISTER = "/user/add";//注册

    public final static String SUBJECT_ALL = "/subject/all";//获取所有的试题
    public final static String SUBJECT_SEARCH = "/subject/search";//搜索试题 /{key}
    public final static String SUBJECT_TYPE_ALL = "/subject/type";//获取类型下的所有的试题
    public final static String TYPE_ALL = "/type/all";//获取所有类型
    public final static String SAVE_SUBJECT = "/save/add";//添加收藏
    public final static String SAVE_USER_ALL = "/save/all";//获取用户收藏
    public final static String SAVE_COMMENT = "/comment/add";//添加评论
    public final static String GET_USER_COMMENTS = "/comment/user";//获取用户所有评论
    public final static String GET_SUBJECT_COMMENTS = "/comment/subject";//获取试卷所有评论
}
